package problems.solved;

import java.util.ArrayList;

import problems.Problem;
import utils.Utils;

public class Problem24 extends Problem<String> {
	public static void main(String[] args) {
		Problem24 problem24 = new Problem24();
		problem24.runTimed();
		problem24.printResult();
	}

	@Override
	public void run() {
		final ArrayList<String> list = new ArrayList<String>();
		Utils.permutate("", "0123456789".toCharArray(), list);
		setResult(list.get(999999)); // 2783915460
	}
}
